package com.net.xpay.common.dao.stat;

import com.net.xpay.common.domain.stat.CompanyBillDailyStat;
import com.net.xpay.common.model.search.CompanyBillDailyStatSearchModel;
import com.net.common.dao.Page;
import com.net.common.dao.PagedMapper;
import com.net.common.annotation.DataCommon;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@DataCommon
@Repository
public interface CompanyBillDailyStatMapper extends PagedMapper<Long, CompanyBillDailyStat> {
    List<CompanyBillDailyStat> search(@Param("searchModel") CompanyBillDailyStatSearchModel searchModel, @Param("page") Page page);

    long searchCount(@Param("searchModel") CompanyBillDailyStatSearchModel searchModel);

    List<CompanyBillDailyStat> list(@Param("searchModel") CompanyBillDailyStatSearchModel searchModel);

    CompanyBillDailyStat sumCompanyBillDailyStat(@Param("searchModel") CompanyBillDailyStatSearchModel searchModel);
}
